//
//  TitleHeadView.m
//  沙哈拉FM
//
//  Created by dllo on 15/11/10.
//  Copyright © 2015年 S1mpl3. All rights reserved.
//

#import "TitleHeadView.h"
#import "FitHeader.h"

@implementation TitleHeadView

- (instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        
        _titleLabel = [[BaseLabel alloc]initWithFrame:CGRectMake(125 * FITWidth, 10 * FITHeight, 95 * FITWidth, 30 * FITHeight)];
        _titleLabel.textAlignment = 1;
        [self addSubview:_titleLabel];
        
        _titleImageView = [[UIImageView alloc]initWithFrame:CGRectMake(_titleLabel.frame.origin.x + _titleLabel.frame.size.width, _titleLabel.frame.origin.y + 5 * FITHeight, 20 * FITWidth, 20 * FITHeight)];
        [self addSubview:_titleImageView];
        
    }
    return self;
}
- (void)layoutSubviews{
    [super layoutSubviews];
    
}

@end
